<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/WEB-INF/inc/common.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>都市玫瑰</title>
<link href="${baseContextPath}static/mk_css/bootstrap.min.css" rel="stylesheet"
	type="text/css" />
<link href="${baseContextPath}static/mk_css/gg.css" rel="stylesheet"
	type="text/css" />
<link href="${baseContextPath}static/mk_css/index.css" rel="stylesheet"
	type="text/css" />
</head>

<body>
	<div class="bj">
		<div class="logo">
			<div class="logo2">
				<img src="${baseContextPath}static/img/logo2.jpg" usemap="#map1" />
			</div>
			<div class="swf">
				<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
					codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
					width="627" height="118">
					<param name="movie" value="${baseContextPath}static/swf/19.swf" />
					<param name="quality" value="high" />
					<param name="wmode" value="transparent" />
					<embed src="${baseContextPath}static/swf/19.swf" width="627"
						height="118" quality="high"
						pluginspage="http://www.macromedia.com/go/getflashplayer"
						type="application/x-shockwave-flash" wmode="transparent"></embed>
				</object>
			</div>
			<div class="swf">
				<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
					codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
					width="627" height="118">
					<param name="movie" value="${baseContextPath}static/swf/1.swf" />
					<param name="quality" value="high" />
					<param name="wmode" value="transparent" />
					<embed src="${baseContextPath}static/swf/1.swf" width="627"
						height="118" quality="high"
						pluginspage="http://www.macromedia.com/go/getflashplayer"
						type="application/x-shockwave-flash" wmode="transparent"></embed>
				</object>
			</div>
		</div>
		<form id="index_form" action="/" method="post">
			<div class="ss_bj">
				<table align="center" class="ss_tb" width="99%" height="100%"
					border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="3%">&nbsp;</td>
						<td width="5%" align="right">性别：</td>
						<td width="7%"><select name="gender">
								<option value="">-请选择-</option>
								<option value="1" <c:if test="${condition.gender eq 1}">selected</c:if>>男</option>
								<option value="0" <c:if test="${condition.gender eq 0}">selected</c:if>>女</option>
						</select></td>
						<td width="5%" align="right">年龄：</td>
						<td width="7%"><select name="age">
								<option value="">-请选择-</option>
								<option value="1" <c:if test="${condition.age eq 1}">selected</c:if>>18以下</option>
								<option value="2" <c:if test="${condition.age eq 2}">selected</c:if>>19-30</option>
								<option value="3" <c:if test="${condition.age eq 3}">selected</c:if>>31-45</option>
								<option value="4" <c:if test="${condition.age eq 4}">selected</c:if>>45以上</option>
						</select></td>
						<td width="1%">岁</td>
						<td width="5%" align="right">地区：</td>
						<td width="9%"><select name="province">
								<option value="">-请选择-</option>
								<c:forEach items="${province}" var="bean">
									<option value="${bean.id}"
										<c:if test="${bean.id eq condition.province}">selected</c:if>>${bean.name}</option>
								</c:forEach>
						</select></td>
						<td width="9%"><select name="city" id="city"
							style="width: 105px;">
								<option value="">-请选择-</option>
								<c:forEach items="${city}" var="bean">
									<option value="${bean.id}"
										<c:if test="${bean.id eq condition.city}">selected</c:if>>${bean.name}</option>
								</c:forEach>
						</select></td>
						<td width="5%" align="right">学历：</td>
						<td width="8%"><select name="education">
								<option value="">-请选择-</option>
								<option value="1"
									<c:if test="${condition.education eq 1}">selected</c:if>>高中</option>
								<option value="2"
									<c:if test="${condition.education eq 2}">selected</c:if>>大专</option>
								<option value="3"
									<c:if test="${condition.education eq 3}">selected</c:if>>本科</option>
								<option value="4"
									<c:if test="${condition.education eq 4}">selected</c:if>>硕士</option>
								<option value="5"
									<c:if test="${condition.education eq 5}">selected</c:if>>博士</option>
						</select></td>
						<td width="5%" align="right">身高：</td>
						<td width="1%"><select name="height">
								<option value="">-不限-</option>
								<option value="1" <c:if test="${condition.height eq 1}">selected</c:if>>155以下</option>
								<option value="2" <c:if test="${condition.height eq 2}">selected</c:if>>156-165</option>
								<option value="3" <c:if test="${condition.height eq 3}">selected</c:if>>166-175</option>
								<option value="4" <c:if test="${condition.height eq 4}">selected</c:if>>176-185</option>
								<option value="5" <c:if test="${condition.height eq 5}">selected</c:if>>185以上</option>
						</select></td>
						<td width="3%">CM</td>
						<td width="7%"><a href="#" id="submit"><img
								src="${baseContextPath}static/img/ss_button.jpg" /></a></td>
					</tr>
				</table>
			</div>
		</form>
		<div class="main">
			<div class="m_left">
				<div class="kuang">
					<table cellpadding="0" cellspacing="0" border="0">
						<tr>
							<td colspan="5">&nbsp;</td>
						</tr>
					</table>
					<table width="98%" align="center" border="0" cellspacing="0"
						cellpadding="0">
						<c:forEach items="${list}" var="bean">
							<div class="body_box">
								<img src="http://car-images.oss-cn-beijing.aliyuncs.com/${bean.firstImage}" class="material_img"/>
								<span class="material_info">${bean.userName}-${bean.age}岁-
									<c:choose>
										<c:when test="${bean.education eq 1}">高中</c:when>
										<c:when test="${bean.education eq 2}">大专</c:when>
										<c:when test="${bean.education eq 3}">本科</c:when>
										<c:when test="${bean.education eq 4}">硕士</c:when>
										<c:when test="${bean.education eq 5}">博士</c:when>
										<c:otherwise>
											高中
										</c:otherwise>
									</c:choose>
								<br />
								<img src="${baseContextPath}static/img/xx.jpg" alt="" />
								</span>
							</div>
						</c:forEach>
					</table>
				</div>
				<div class="pull-right">
					<jsp:include page="/WEB-INF/jsp/common/paginition.jsp"></jsp:include>
				</div>
			</div>
			<div class="m_right">
				<div class="top">
					<img src="${baseContextPath}static/img/top.jpg" />
				</div>
				<div class="r_bj">
				<c:choose>
					<c:when test="${user == null}">
						<table width="100%" height="100%" border="0" cellspacing="0"
							cellpadding="0">
							<tr>
								<td align="center" class="bj_ft">中国最好的婚恋网站</td>
							</tr>
							<tr>
								<td align="center" class="bj_ft2">每天<font color="#FF0000">2</font>万新会员注册
								</td>
							</tr>
							<tr>
								<td align="center" class="bj_ft2">拥有<font color="#FF0000">21656</font>万会员
								</td>
							</tr>
							<tr>
								<td align="center" class="bj_ft3">迄今共有<font color="#FF0000">4654</font>对找到伴侣
								</td>
							</tr>
							<tr>
								<td height="31" align="center" class="bj_ft3">下一个幸福的人<font
									style="font-size: 18px; color: #FF0000; font-weight: bold;">就是你</font></td>
							</tr>
	
							<tr>
								<td align="center"><a href="${baseContextPath}userController/toRegist"><img
										src="${baseContextPath}static/img/mfzc.jpg" /></a></td>
							</tr>
						</table>
					</c:when>
					<c:otherwise>
						<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
		              <tr>
		                <td width="55%" height="126" align="center">
		            		<table class="succeed_xiangkuang" width="124" border="0" cellspacing="0" cellpadding="0">
		                         <tr>
		                            <td width="122" height="139" align="center"><img src="${baseContextPath}static/img/tou4.jpg" /></td>
		                         </tr>
		                   </table>                </td>
		                <td width="45%" height="126">
		                	<table width="100%" align="center" height="100%" border="0" cellspacing="0" cellpadding="0">
		                      <tr>
		                        <td valign="top"><a href="${baseContextPath}userController/getDetail/${user.id}"><img src="${baseContextPath}static/img/i1.jpg" /></a></td>
		                      </tr>
		                      <tr>
		                        <td valign="top"><a href="myPhoto.html"><img src="${baseContextPath}static/img/i2.jpg" /></a></td>
		                      </tr>
		                      <tr>
		                        <td valign="top"><a href="myInfo.html"><img src="${baseContextPath}static/img/i3.jpg" /></a></td>
		                      </tr>
		                      <tr>
		                        <td valign="top"><a href="myPost.html"><img src="${baseContextPath}static/img/i4.jpg" /></a></td>
		                      </tr>
		                      <tr>
		                        <td valign="top"><a href="secrecySet.html"><img src="${baseContextPath}static/img/i5.jpg" /></a></td>
		                      </tr>
		                    </table>                  
		                  </td>
		              </tr>
		              <tr>
		                <td colspan="2"><table width="94%" align="center" border="0" cellspacing="0" cellpadding="0">
		                  <tr>
		                    <td width="30%" height="28" align="right"><font style="font-weight:bold;">访客：</font></td>
		                    <td width="35%" class="succeed_link"><a href="info_show.html" target="_blank">sky随缘</a> </td>
		                    <td width="35%" class="succeed_link"><a href="info_show.html" target="_blank">水中花来哦</a></td>
		                  </tr>
		                  <tr>
		                    <td width="30%" height="28" align="right">&nbsp;</td>
		                    <td width="35%" class="succeed_link"><a href="info_show.html" target="_blank">sky随缘</a></td>
		                    <td width="35%" class="succeed_link"><a href="info_show.html" target="_blank">水中花来哦</a></td>
		                  </tr>
		                  <tr>
		                    <td width="30%" height="28" align="right">&nbsp;</td>
		                    <td width="35%" class="succeed_link"><a href="info_show.html" target="_blank">sky随缘</a> </td>
		                    <td width="35%" class="succeed_link"><a href="info_show.html" target="_blank">水中花来哦</a></td>
		                  </tr>
		                </table>
		                </td>
		              </tr>
		            </table>
					</c:otherwise>
				</c:choose>
				</div>
				<div class="top2">
					<table width="100%" height="100%" border="0" cellspacing="0"
						cellpadding="0">
						<tr>
							<td width="14%">&nbsp;</td>
							<td width="86%" class="top2_ft">交友活动</td>
						</tr>
					</table>
				</div>
				<div class="r_bj2">
					<table width="95%" align="center" border="0" cellspacing="0"
						cellpadding="0">
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">睡觉减肥，瘦到你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">睡觉减肥，瘦到你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">睡觉减肥，瘦到你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">睡觉减肥，瘦到你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">睡觉减肥，瘦到你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft1"><a href="activityShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td colspan="2" align="center">&nbsp;</td>
						</tr>
					</table>

				</div>
				<div class="top2">
					<table width="100%" height="100%" border="0" cellspacing="0"
						cellpadding="0">
						<tr>
							<td width="14%">&nbsp;</td>
							<td width="86%" class="top2_ft">精彩话题</td>
						</tr>
					</table>
				</div>
				<div class="r_bj2">
					<table width="95%" align="center" border="0" cellspacing="0"
						cellpadding="0">
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft2"><a href="articleShow.html">解密，大S皮肤如少女般光滑你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft2"><a href="articleShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft2"><a href="articleShow.html">解密，大S皮肤如少女般光滑你尖叫</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td width="7%" height="25"><img
								src="${baseContextPath}static/img/ico.jpg" /></td>
							<td width="93%" class="td_ft2"><a href="articleShow.html">揭开蔡依林和熊戴琳的丰胸秘密</a></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><div class="td_x"></div></td>
						</tr>
						<tr>
							<td colspan="2" align="center">&nbsp;</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<div class="end_banquan">
			<table width="100%" height="100%" border="0" cellspacing="0"
				cellpadding="0">
				<tr>
					<td width="43%">@2009 都市玫瑰</td>
					<td width="57%" align="right">关于我们&nbsp; |&nbsp; 联系我们 |&nbsp;
						广告服务 |&nbsp; 法律声明 |&nbsp; 友情在线</td>
				</tr>
				<tr></tr>
			</table>

		</div>
	</div>

	<map name="map1">
		<area shape="circle" coords="97,57,60" href="index.html" />
		<area shape="rect" coords="171,34,289,81" href="index.html" />
	</map>
	<map name="map2">
		<area shape="rect" coords="23,3,93,21" href="index.html" />
		<area shape="rect" coords="123,3,220,21" href="index2.html" />
	</map>
	<script type="text/javascript"
		src="${baseContextPath}static/js/main/main.js"></script>
</body>
</html>
